% this script summarizes all the plotting options for alpha5-i-KO etomidate
% dataset (GAD ETOM)

%% plot dose-response mobility as bar graph

GAD_Etom_Plot_Mobility_Bar_Graph(Data_Summary);

%% plot dose-response number of active cells (>=5 calcium events) as bar graph

GAD_Etom_Plot_Num_Active_Cell_Bar_Graph(Data_Summary);

%% plot dose-response event amplitude (dF/F) as bar graph

GAD_Etom_Plot_Event_Amp_Bar_Graph(Data_Summary);

%% plot dose-response event rate (spikes/sec) as bar graph

GAD_Etom_Plot_Event_Rate_Bar_Graph(Data_Summary);

%% plot dose-response event rate distributions

GAD_Etom_Event_Rate_Dist_Plot(Data_Summary);

%% plot dose-response p(MI) distributions

GAD_Etom_pMI_Dist_Plot(Placeness_MetaData);

%% plot saline vs. etomidate 7mg/kg p(MI) cumulative distributions

GAD_Etom_cdf_plot_MI_pvalues(Placeness_MetaData);

%% plot dose-response proportion of place cells (p(MI) < 0.05) as bar graph

GAD_Etom_Plot_Proportion_PlaceCell_Bar_Graph(Placeness_MetaData);

%% plot dose-response mean PV as bar graph

GAD_Etom_Plot_PV_Bar_Graph(Data_Summary);

%% plot dose-response mean RM as bar graph

GAD_Etom_Plot_RM_Bar_Graph(Data_Summary);

%% plot dose-response PV distributions *

GAD_Etom_PV_Dist_Plot(Data_Summary);

%% plot dose-response RM distributions *

GAD_Etom_RM_Dist_Plot(Data_Summary);

%% plot PV CDFs for saline vs. etom 7mg/kg *

GAD_Etom_cdf_plot_pv(Data_Summary);

%% plot RM CDFs for saline vs. etom 7mg/kg *

GAD_Etom_cdf_plot_rm(Data_Summary);

%% plot PV CDFs for altered contexts vs. same context experiments *

GAD_Etom_saline_altcontext_crossday_pv_cdf(Data_Summary);

%% plot PV CDFs for altered contexts vs. same context experiments *

GAD_Etom_saline_altcontext_crossday_rm_cdf(Data_Summary);

%% plot cross-day analysis PV matrix for each animal

GAD_Etom_Plot_XDay_Analysis_PV_Matrix_eachAnimal(XDay_PV_Matrix);

%% plot cross-day analysis PV matrix for the mean of genotypes *

GAD_Etom_Plot_Mean_XDay_PV_Matrix(XDay_PV_Matrix);

%% plot cross-day analysis RM matrix for each animal *

GAD_Etom_Plot_XDay_Analysis_RM_Matrix_eachAnimal(XDay_RM_Matrix);

%% plot cross-day analysis RM matrix for the mean of genotypes *

GAD_Etom_Plot_Mean_XDay_RM_Matrix(XDay_RM_Matrix);

%% plot cross-day analysis ER matrix for each animal *

GAD_Etom_Plot_XDay_Analysis_ER_Matrix_eachAnimal(XDay_ER_Matrix);

%% plot cross-day analysis ER matrix for the mean of genotypes *

GAD_Etom_Plot_Mean_XDay_ER_Matrix(XDay_ER_Matrix);

%% plot cross-day mean PV vs. deltaT

[~, ~, ~, ~, ~, ~] = GAD_Etom_Cross_Day_PV_DeltaT(XDay_PV_Summary);

%% plot cross-day mean RM vs. deltaT*

[~, ~, ~, ~, ~, ~] = GAD_Etom_Cross_Day_RM_DeltaT(XDay_RM_Summary);

%% plot cross-day mean ER vs. deltaT*

[~, ~, ~, ~, ~, ~] = GAD_Etom_Cross_Day_ER_DeltaT(XDay_ER_Summary);

%% plot cell recurring probability [BOTH/(AM_ONLY + BOTH)]*

GAD_Etom_Plot_Cell_Recurring_Probability_Bar_Graph(Data_Summary);

%% plot event rate correlation

GAD_Etom_Plot_Event_Rate_Correlation_Bar_Graph(Data_Summary);
 
%% plot the relationship between ER and mobility (for all PM sessions without drugs)

GAD_Etom_Plot_meanER_vs_Mobility(Data_Summary);

%% plot the relationship between mean(PV correlation) and mobility (for all saline sessions)

GAD_Etom_Plot_meanPV_vs_Mobility(Data_Summary);

%% plot the relationship between mean(RM correlation) and mobility (for all saline sessions)

GAD_Etom_Plot_meanRM_vs_Mobility(Data_Summary);

%% plot the relationship between mean(ER correlation) and mobility (for all saline sessions)

GAD_Etom_Plot_ERCorr_vs_Mobility(Data_Summary);

%% plot the CDFs of ER of place cells & non-place cells

GAD_Etom_PlaceCell_vs_Non_PlaceCell_ER_CDFs(Mobility_and_ER_Data_Summary);

%% plot place cell ER vs non-place cell mean(ER) histograms

GAD_Etom_Place_vs_NonPlace_meanER(Mobility_and_ER_Data_Summary);

%% plot CDFs of fraction of events vs speed of the animal

GAD_Etom_Events_vs_Speed_CDFs(Mobility_and_ER_Data_Summary);

%% plot CDFs of fraction of cells with certain event rates during mobility phase (speed > 2cm/sec) and those during immobility phase

GAD_Etom_Mobility_and_Imobility_ER_CDFs(Mobility_and_ER_Data_Summary);

%% plot mean ER histograms for both genotypes during mobility and immobility

GAD_Etom_Mobility_vs_Immobility_meanER(Mobility_and_ER_Data_Summary);

